﻿using System;
using fastCSharp;

namespace diantou.web
{
    /// <summary>
    /// 最新动态
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class focus : log<focus>
    {
        /// <summary>
        /// 最新动态
        /// </summary>
        /// <param name="page">分页号</param>
        /// <returns>是否成功</returns>
        private bool loadView(int page)
        {
            load(diantou.dataAccess.tcpCall.log.getFocus(currentUser.Id, currentUser.IsChangeVisit, pageInfo.Size = 20, pageInfo.Page = page, out pageInfo.Count, out logId));
            if (logId < currentUser.VisitFocusLogId) logId = currentUser.VisitFocusLogId;
            return true;
        }
    }
}
